package com.mk.admin.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("已挂号(已预约)信息查询响应参数")
public class ReserveByPatientDto {
    @ApiModelProperty(value = "挂号id 挂号唯一id queryType为1时代表预约表id", required = true)
    private String regId;
    @ApiModelProperty(value = "就诊号 本次就诊号")
    private String inTreatCode;
    @ApiModelProperty(value = "门诊号")
    private String outpatId;
    @ApiModelProperty(value = "挂号或预约类型 1 已预约信息 2已挂号信息", required = true)
    private String regType;
    @ApiModelProperty(value = "收据号 结算收据号")
    private String receiptNo;
    @ApiModelProperty(value = "支付流水号 第三方支付流水号")
    private String paySerialNo;
    @ApiModelProperty(value = "科室代码", required = true)
    private String deptCode;
    @ApiModelProperty(value = "科室名称", required = true)
    private String deptName;
    @ApiModelProperty(value = "医生id 如果是科室挂号则返回null")
    private String doctorCode;
    @ApiModelProperty(value = "医生姓名 如果是科室挂号则返回null")
    private String doctorName;
    @ApiModelProperty(value = "记录日期 yyyy-MM-dd HH:mm:ss 年-月-日 时:分:秒\n" +
            "queryType为1时 预约记录的创建时间")
    private String recordDate;
    @ApiModelProperty(value = "挂号日期 yyyy-MM-dd HH:mm:ss 年-月-日 时:分:秒\n" +
            "queryType为1时，代表预约日期")
    private String regTime;
    @ApiModelProperty(value = "挂号排序号 排序序号 queryType为1时代表预约排序号", required = true)
    private String regSortNo;

    @ApiModelProperty(value = "挂号费 两位小数", required = true)
    private String regFee;
    @ApiModelProperty(value = "应收金额 两位小数", required = true)
    private String recMoney;
    @ApiModelProperty(value = "总金额 两位小数", required = true)
    private String totalMoney;
    @ApiModelProperty(value = "诊疗费 两位小数", required = true)
    private String medicalFee;
    @ApiModelProperty(value = "优惠金额 两位小数")
    private String discountMoney;

    @ApiModelProperty(value = "渠道 1：支付宝，2：微信，3聚合支付，4医保5自助机，6窗口，7：银行，8，手机APP。9 市民云(挂号信息来源)")
    private Byte channel;
    @ApiModelProperty(value = "支付方式 98支付宝97微信96 医保 95 支付宝医保94微信医保93 XX银行聚合支付01 现金\n" +
            "CV07.10.004", required = true)
    private Byte payType;
    @ApiModelProperty(value = "预约状态 1录入，2确认，3作废，4取消 5爽约")
    private Byte reserveStatus;
    @ApiModelProperty(value = "支付状态 0未支付1已支付")
    private Byte payStatus;
    @ApiModelProperty(value = "支付记录状态 支付记录状态1正常支付2取消支付3被取消支付（0未支付过）", required = true)
    private Byte payRecordStatus;
    @ApiModelProperty(value = "号源状态 1:正常,2:退号,3:红冲,4：预算", required = true)
    private Byte sourceStatus;
    @ApiModelProperty(value = "退收据号 如果退号则返回，HIS的退号ID")
    private String returnReceiptNo;
    @ApiModelProperty(value = "就诊地址")
    private String visitAaddress;
    @ApiModelProperty(value = "分诊状态 0:未分诊,1分诊,2就诊,3结束就诊 ４:结束就诊（其它）5:结束中（其它)", required = true)
    private Byte triageStatus;
    @ApiModelProperty(value = "坐诊类型 1 上午 2中午 3下午 4 白天 5晚上6 前夜 7 后夜  8 昼夜9全天", required = true)
    private Byte sitType;
    @ApiModelProperty(value = "锁定状态 0未锁定 1正在开处方，状态锁定,2正在输病历，状态锁定", required = true)
    private Byte lockStatus;
    @ApiModelProperty(value = "排班明细id", required = true)
    private String schId;
    @ApiModelProperty(value = "患者诊断")
    private String patDiagnose;
    @ApiModelProperty(value = "签到状态 0 未签到 1 已签到")
    private Byte signInState;
    @ApiModelProperty(value = "签到状态 0 未签到 1 已签到", required = true)
    private String patId;
    @ApiModelProperty(value = "姓名", required = true)
    private String patName;
    @ApiModelProperty(value = "性别代码")
    private String patSex;
    @ApiModelProperty(value = "出生日期")
    private String birthday;
    @ApiModelProperty(value = "证件类型 cv02.01.101身份证件类别代码", required = true)
    private String certType;
    @ApiModelProperty(value = "证件号", required = true)
    private String certId;
    @ApiModelProperty(value = "预约id")
    private String reserveId;

    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "备注1")
    private String remark1;
}
